package com.yishun.springboot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yishun.springboot.pojo.GwsElectroMasterdetailed;

@Mapper
public interface GwsElectroMasterdetailedMapper {

	/**
	 * 新增配电箱对接工务署信息
	 * 
	 * @param masterdetailed
	 * @return
	 */
	Integer addGwsElectro(GwsElectroMasterdetailed masterdetailed);

	/**
	 * 查询出需要推送实时配电箱的设备
	 * 
	 * @param pushOrNot
	 * @return
	 */
	List<GwsElectroMasterdetailed> findByPushOrNotGetDeviceNo(Integer pushOrNot);

}
